package com.lwh.service;

import com.aliyuncs.exceptions.ClientException;
import com.lwh.entity.User;

public interface UserService {

    User findByUser(User user);

    /**
     * @Description 发送短信
     **/
    String sendCode(String phone) throws ClientException;

    User findByPhone(String phone,String code);
}
